﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdoNET
{
    class Product
    {
        #region Field
        private int _productId;
        private string _productName;
        private int _price;
        #endregion

        #region Property
        public int ProductId
        {
            get { return _productId; }
            set { _productId = value; }
        }

        public string ProductName
        {
            get { return _productName; }
            set { _productName = value; }
        }       

        public int Price
        {
            get { return _price; }
            set { _price = value; }
        }
        #endregion

        #region Constructor
        public Product()
        { 
        
        }

        public Product(int productId, string productName, int price)
        {
            _productId = productId;
            _productName = productName;
            _price = price;
        }
        #endregion


    }
}
